24 matches found
CVE-2022-29217
CVE-2022-29217 affects the Python PyJWT library (jwt handling for RFC 7519). The root cause is algorithm confusion when decoding tokens if the application does not restrict accepted algorithms; allowing unintended verification behavior across signing algorithms. The issue is mitigated by upgradin...
CVE-2026-32597
PyJWT prior to 2.12.0 does not validate the crit header (RFC 7515 §4.1.11). If a JWS contains a crit array with extensions PyJWT cannot understand, the library accepts the token instead of rejecting it, violating the MUST requirement. This CVE affects PyJWT and is fixed in version 2.12.0. Remedia...
CVE-2026-48526
PyJWT (Python) prior to 2.13.0 did not validate the use of JSON Web Keys in HMAC verification, allowing an attacker to use the issuer public key as the HMAC secret during token verification. This could enable forging tokens when mixing RS/EC/JWK and HS algorithms. The issue is fixed in PyJWT 2.13...
CVE-2024-53861
CVE-2024-53861 (pyjwt) : A defect in pyjwt caused by changing the iss check from a list-inclusive approach to a Sequence-based isinstance check; since str is a Sequence, the code may incorrectly evaluate string containment and permit certain values (e.g., "abc" in "abcd "), effectively altering t...
CVE-2026-48523
PyJWT vulnerability affecting versions 2.9.0–2.12.1 where verifier-side algorithm allow-list bypass occurs when decoding with a PyJWK/PyJWKClient key. The token header’s alg is checked against the caller-supplied allow-list, but the signature is verified using the algorithm bound to the PyJWK obj...
CVE-2026-48524
CVE-2026-48524 affects PyJWT prior to 2.13.0. The issue is in PyJWKClient.get_signing_key(), which can force a fresh HTTP request to the JWKS endpoint for every JWT with an unknown kid value, with no rate limiting. Since the kid is from an unverified token header, an attacker can trigger unlimite...
CVE-2026-48522
PyJWKClient in PyJWT prior to 2.13.0 passes its uri argument directly to urllib.request.urlopen(), allowing attacker-controlled jku URLs to trigger SSRF and related token-forgery scenarios via file://, ftp://, or data: schemes. Affected component: PyJWKClient (Python). Root cause: lack of a schem...
CVE-2017-11424
CVE-2017-11424 affects PyJWT 1.5.0 and earlier, where the invalid_strings check in HMACAlgorithm.prepare_key fails to account for all PEM public-key formats (notably PKCS1 PEM prefixed with -----BEGIN RSA PUBLIC KEY-----), enabling key confusion attacks that could let an attacker craft JWTs from ...
CVE-2026-101918
The PyJWT Python library (versions 2.0.0a1 through 2.15.0 ) is vulnerable to an unhandled RecursionError in the PyJWKClient.get_signing_key_from_jwt function. This occurs because the payload parser catches ValueError but fails to handle RecursionError when processing an attacker-controlled recurs...
CVE-2025-45768
The pyjwt v2.10.1 library is affected by CVE-2025-45768 , which involves weak encryption (CWE-311). While the supplier disputes the claim because key length is application-defined, the vulnerability impacts products such as IBM Watson Discovery Cartridge (versions 5.0.0-5.2.1) and Amazon Linux 20...
CVE-2026-102265
The PyJWT Python library (versions 2.13.0 through 2.13.x ) is vulnerable due to a missing exception handler in the PyJWS._load function within jwt/api_jws.py. The parser currently catches ValueError but fails to catch RecursionError, which can be triggered when processing a deeply nested token he...
CVE-2026-48525
PyJWT (Python) versions 2.8.0–2.12.1 expose an unauthenticated DoS when verifying detached JWS with the unencoded-payload option (b64: false, RFC 7797). PyJWT decodes the middle payload segment for detached-payload verification, then discards it and replaces it with the caller-provided detached_p...
CVE-2026-102268
The PyJWT library (versions prior to 2.14.0 ) contains a vulnerability in jwt/utils.py where the is_pem_format function fails to recognize certain PEM representations accepted by the cryptography loader. This occurs when applications mixing HMAC and asymmetric algorithms provide mutated public-ke...
CVE-2026-102270
The PyJWT library (prior to version 2.14.0 ) is vulnerable to a Regular Expression Denial of Service (ReDoS) in the is_pem_format function. The root cause is extensive backtracking performed by a lazy PEM regular expression when processing certificate-like inputs containing repeated BEGIN markers...
CVE-2026-101917
The PyJWT Python library (prior to version 2.14.0 ) is vulnerable to a denial-of-service vector due to how it handles unknown keys in the get_signing_key_from_jwt function. Because the library lacks a negative cache or minimum refresh interval, repeated requests using unknown or varying kid value...
CVE-2026-102274
The PyJWT library (versions 2.9.0 through 2.13.0 ) is vulnerable to a denial-of-service condition due to insufficient handling of exceptional states in RSAAlgorithm.from_jwk. When parsing a JWK Set , a malformed RSA JWK with an invalid d value and missing CRT parameters causes cryptography to rai...
CVE-2026-102269
The PyJWT Python library (prior to version 2.14.0 ) is vulnerable to a signature segment decoding issue. The library incorrectly accepts characters outside the canonical Base64URL representation, allowing non-Base64URL characters to be appended to a valid compact JWS signature segment. Because ba...
CVE-2026-102275
The PyJWT Python library (versions 2.1.0 through 2.15.0 ) is vulnerable in the PyJWT.OKPAlgorithm.from_jwk function within jwt/algorithms.py. The root cause is that the private-JWK import path fails to compare the public key derived from d with x . This allows an attacker to provide non-correspon...
CVE-2026-102267
The PyJWT library (versions prior to 2.14.0 ) is vulnerable in the PyJWKClient component because it fails to revalidate redirect destinations against the JWKS trust boundary . An attacker who can influence a configured trusted JWKS endpoint's response can trigger a redirect, causing PyJWKClient t...
CVE-2026-102273
The PyJWT Python library (versions 2.13.0 through 2.14.0 ) contains a vulnerability in HMACAlgorithm.prepare_key . The flaw occurs because the HMAC key guard fails to recognize container representations, allowing public JWK containers to be accepted as HMAC secrets when an application supports bo...
CVE-2026-102271
The PyJWT Python library (versions 2.4.0 through 2.14.0 ) is vulnerable in the HMACAlgorithm.prepare_key function. The root cause is that the asymmetric-key guard relies on textual markers that are missing from DER encoding . When an application mixes HMAC and asymmetric algorithms and provides a...
CVE-2026-103001
The PyJWT library (versions 2.11.0 through 2.13.0 ) contains a vulnerability where the PyJWT._merge_options() method modifies a caller-supplied mutable options mapping when verify_signature is set to false . If an application reuses this same mapping for subsequent decode() or decode_complete() c...
CVE-2026-102272
The PyJWT library (versions 2.13.0 up to 2.14.0) contains a vulnerability in the HMACAlgorithm.prepare_key function within jwt/algorithms.py. The root cause is that the raw-JWK detector fails to normalize accepted Unicode byte-order marks (BOM) before performing JSON checks. When a public JWK is ...
CVE-2026-102266
The PyJWT library (Python implementation of JSON Web Token standards) is vulnerable in versions 2.13.0 through 2.14.0 due to a flaw in the HMACAlgorithm.from_jwk method. The PyJWK verification path fails to apply prepare_key validation when a trusted JWK Set contains an oct entry with an empty k ...